package task

import (
	"yunj/pkg/yunj/app/controller/admin"
	"yunj/pkg/yunj/app/service/admin/taskservice"

	"github.com/gin-gonic/gin"
)

// 权限管理
type Task struct {
	admin.Controller
}

// 列表
func (ctrl *Task) List(ctx *gin.Context) {
	ctrl.RenderBuilder(ctx, taskservice.TaskPage.ListBuilder(ctx), "task/list")
}
